package com.rocky.component.elasticsearch.service.event;

import org.elasticsearch.action.bulk.BulkItemResponse;

/**
 * @author rocky
 * date 2025-08-16
 * Description:
 */
public interface RockyDocumentCallback {

    default void onCreatedSuccess() {

    };

    default void onUpdatedSuccess() {

    };

    default void onBulkFailure(BulkItemResponse bulkItemResponse) {

    }
}
